package com.annchain.og_browser.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("发币交易")
public class IssueTxVO {
    @ApiModelProperty("交易哈希")
    private String hash;
    @ApiModelProperty("交易类型")
    private String type;
    @ApiModelProperty("区块高度")
    private int height;
    @ApiModelProperty("产生时间")
    private String outputTime;
    @ApiModelProperty("资产类型")
    private String propertyTypeName;
    @ApiModelProperty("交易的数量")
    private Long amount;
    @ApiModelProperty("账户Nonce")
    private Long accountNonce;
    @ApiModelProperty("工作量证明Nonce")
    private Long mineNonce;   //工作量证明Nonce
    @ApiModelProperty("交易签名")
    private String sign;
    @ApiModelProperty("父节点列表")
    private List<String> parentList;
    @ApiModelProperty("附加信息")
    private Map<String, Object> data;

    @ApiModelProperty("出块人")
    private AddressVo miner;
    @ApiModelProperty("From")
    private AddressVo from;
    @ApiModelProperty("To")
    private AddressVo to;
}
